<template>
  <web-view :src="txt"></web-view>
</template>

<script>
import {getUserInfo} from '../../cookie'
import {getQuanyiPageUrl} from "../../api";
export default {
  name: "index2",
  data() {
    return {
      txt: ""
    }
  },
  created() {
    const { userId} =this.$store.getters.getUserInfo
    getQuanyiPageUrl({
      userid:userId,
      wechat:1
    }).then(e=>{
      console.log(e.data.data)
      this.txt = e.data.data.qyurl
    })
  }
}
</script>

<style scoped>

</style>
